import { ref } from "vue";
//常量.
export class Constant {
  //模块
  static readonly MODULE_DICT = "dict";
  //字典类型枚举
  static readonly ENUM_ENTRY_TYPES = "jmash.dict.protobuf.EntryTypes";

  // 学历
  static readonly DICT_DEGREE = "FirstDegree";

  // 挂起/激活状态
  static readonly SUSPEND_VALUES = ref([
    { key: "true", value: "挂起" },
    { key: "false", value: "激活" },
  ]);

  // 记录类型
  static readonly COMMENT_TYPE_VALUES = ref([
    { key: "comment", value: "操作" },
    { key: "event", value: "事件" },
  ]);

  // 优先级枚举
  static readonly PRIORITY_VALUES = ref([
    { key: "Trivial", value: "默认" },
    { key: "Minor", value: "次重要" },
    { key: "Major", value: "重要" },
    { key: "Critical", value: "关键" },
  ]);
}
